package net.hn.hnms.biz.api.mine;

import net.hn.hnms.biz.api.feign.model.DataStateVo;
import net.hn.hnms.sys.common.core.constant.ServiceNameConstants;
import net.hn.hnms.sys.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Author: PanSX
 * Date: 2023/6/2 15:44
 */
@FeignClient(contextId = "RemotePowerService", value = ServiceNameConstants.CMIM_BIZ_POWER)
public interface RemotePowerService {

    @GetMapping("production/power/maxTime")
    R<List<DataStateVo>> getMaxTime(@RequestParam("mineCode") String mineCode, @RequestParam("companyCode")  String companyCode);
}
